﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PX.ExpertGain
{
	/// <summary>
	/// 大师成果实体类
	/// </summary>
	public class Entity : Tony.EntityBase
	{
		#region 属性

		public int nExpertUserID = 0;		// 大师用户ID
		public string strName = "";		// 成果名称
		public int nImageID = 0;		// 成果图片保存的ID
		public string strContent = "";		// 成果内容
		public string strObtainDate = "";		// 成果取得时间
		public string strDateTime = "";		// 记录添加时间
		public int nExpertDepartmentID = 0;		// 大师所在单位ID
		public int nUserID = 0;		// 添加记录帐号ID
		public int nFileContentID = 0;		// 上传文件ID

		private string strExpertName = "";		// 大师姓名

		#endregion 属性

		#region Get，Set属性
		/// <summary>
		/// 上传文件ID
		/// </summary>
		public int FileContentID
		{
			get { return nFileContentID; }
			set { nFileContentID = value; }
		}
		/// <summary>
		/// 大师用户ID
		/// </summary>
		public int ExpertUserID
		{
			get { return nExpertUserID; }
			set { nExpertUserID = value; }
		}
		/// <summary>
		/// 成果名称
		/// </summary>
		public string Name
		{
			get { return strName; }
			set { strName = value.Trim(); }
		}
		/// <summary>
		/// 成果图片保存ID
		/// </summary>
		public int ImageID
		{
			get { return nImageID; }
			set { nImageID = value; }
		}
		/// <summary>
		/// 成果内容
		/// </summary>
		public string Content
		{
			get { return strContent; }
			set { strContent = value.Trim(); }
		}
		/// <summary>
		/// 成果取得时间
		/// </summary>
		public string ObtainDate
		{
			get { return strObtainDate; }
			set { strObtainDate = value.Trim(); }
		}
		/// <summary>
		/// 记录添加时间
		/// </summary>
		public string DateTime
		{
			get { return strDateTime; }
			set { strDateTime = value.Trim(); }
		}
		/// <summary>
		/// 大师所在单位ID
		/// </summary>
		public int ExpertDepartmentID
		{
			get { return nExpertDepartmentID; }
			set { nExpertDepartmentID = value; }
		}
		/// <summary>
		/// 添加记录帐号ID
		/// </summary>
		public int UserID
		{
			get { return nUserID; }
			set { nUserID = value; }
		}
		/// <summary>
		/// 大师姓名
		/// </summary>
		public string ExpertName
		{
			get { return strExpertName; }
			set { strExpertName = value.Trim(); }
		}

		#endregion Get，Set属性

		/// <summary>
		/// 构造函数
		/// </summary>
		public Entity()
			: base()
		{
		}
	}
}
